rem title GIT commit by dongyiliang
color 00

echo start execute
echo current dir is :%cd%

echo start add
rem echo +++++++++++++++++++++++++++++++++++++++
git add -A .
echo add success
rem echo +++++++++++++++++++++++++++++++++++++++

echo;
echo commit to local
rem echo +++++++++++++++++++++++++++++++++++++++

set d=%date:~0,10%
set d=%d:/=%
set d=%d: =0%

set /p declation=input commit msg:
git commit -m "home_%d%:%declation%"
rem echo +++++++++++++++++++++++++++++++++++++++

echo;
echo push to gitee server
rem echo +++++++++++++++++++++++++++++++++++++++
git push origin master
rem echo +++++++++++++++++++++++++++++++++++++++

echo;
echo execute success
echo;

pause